package homework;

/**
 *三栖艺人
 *  @胡承伦
 */
import java.util.*;
interface faceA{
    String INFO1="可以演电影";
    public void moives();
}
interface faceB{
    String INFO2="可以演电视剧";
    public void teleplay();
}
interface faceC{
    String INFO3="可以演唱歌";
    public void sing();
}
class Actor implements faceA,faceB,faceC{
    public void moives(){
        System.out.println(INFO1);
    }
    public void teleplay(){
        System.out.println(INFO2);
    }
    public void sing(){
        System.out.println(INFO3);
    }
}
public class Actors {//三栖艺人；
    public static void main(String[] args) {
        Scanner people=new Scanner(System.in);
        Actor actor=new Actor();
        System.out.println("请问你是三栖艺人嘛？");
        String ans=people.nextLine();
        if("是".equals(ans)){
        actor.moives();
        actor.teleplay();
        actor.sing();
        }else{
            System.out.println("努力变成艺人吧!");
        }
    }
}
